package com.hehe.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer;

@EnableResourceServer
@EnableZuulProxy
@SpringBootApplication
@EnableWebSecurity
public class HeheGatewayZzulExampleApplication {

	public static void main(String[] args) {
		SpringApplication.run(HeheGatewayZzulExampleApplication.class, args);
	}
	
}
